package com.woniuxy.secondhand.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 二手订单项表
 * </p>
 *
 * @author chaohuijiang
 * @since 2020-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("SEC_ORDERITEM")
@ApiModel(value="SecOrderitem对象", description="二手订单项表")
@KeySequence("SEC_ORDER")
public class SecOrderitem implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "二手订单项编号")
    @TableId(value = "SEC_ORDER_ID",type = IdType.INPUT)
    private Integer secOrderId;

    @ApiModelProperty(value = "商品编号")
    @TableField("GOODSID")
    private Integer goodsid;

    @ApiModelProperty(value = "订单编号")
    @TableField("ORDERNUMBER")
    private String ordernumber;

    @ApiModelProperty(value = "软删除")
    @TableField("FLAG")
    private Integer flag;


}
